package com.gedeshidai.shumadevelop.model.enums;

/**
 * 商品操作状态枚举
 */
public enum HistoryStatusEnum {
    NEW_INSERT(1, "新增"),
    GO_CHECK(2, "发起审批"),
    PASS_CHECK(3,"审批通过"),
    BACK_CHECK(4,"审批驳回"),
    ONLINE(5,"上线"),
    OFFLINE(6,"下线"),
    UPDATE(7,"编辑");

    /**
     * 状态码
     */
    private final int code;

    /**
     * 信息
     */
    private final String message;

    HistoryStatusEnum(int code, String message) {
        this.code = code;
        this.message = message;
    }

    public int getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }
}
